<?php if(!empty($subvo)){
    $v = $subvo;
    $subvo = '';
}
if(!empty($subsubvo)){
    $v = $subsubvo; 
    $subsubvo = '';
}
?>

<div class="viewBox myBox<?php echo $v['id'];?>" <?php if($_SESSION[C('USER_AUTH_KEY')]){?> sortID="<?php echo $v['sort'];?>" modulesID="<?php echo $v['id'];?>" title="<?php echo $v['title'];?>" deleteUrl="<?php echo U('/Admin/Modules/delete',array('id'=>$v['id']));?>" settingUrl="<?php echo U('/Admin/Modules/edit',array('id'=>$v['id']));?>" isEdit="0"<?php }?>>
  <?php if(!empty($v['dataname'])){
                $v['content'] = $v['dataname'];
                
        }else{
            $v['content'] = unserialize($v['content']);
        }
         ?>
  <div class="panel panel-primary">
    <?php include(TMPL_PATH.'Home/TemplateDefault/Public-Moduletitle'.C('TMPL_TEMPLATE_SUFFIX')); ?>
    <div class="panel-body">
    
      <?php foreach($v['content'] as $key => $p):?>
      <div class="col-md-3 col-xs-6 col-sm-4">
        <div class="thumbnail"><a href="<?php echo getArtLink($p['id'], $p['module']);?>"><img alt="<?php echo $p['title'];?>" src="<?php echo getThumbPath($p['img_url']);?>" width="100%" /></a>
          <div class="caption">
            <h3> <a href="<?php echo getArtLink($p['id'], $p['module']);?>"><?php echo $p['title'];?></a> </h3>
            <?php if($v['listContentLength'] > 0){?>
            <p> <?php echo cut_content($p,$v['listContentLength'], 0, $v['listContentOut']); ?> </p>
            <?php }?>
            <p style="margin-top:5px;"> <span class="badge pull-right">筹资失败</span> 已筹资：¥0 </p>
            <div class="progress" style="height:9px; margin-bottom:8px;">
              <div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="40" aria-valuemin="0" aria-valuemax="100" style="width: 40%"> <span class="sr-only">40% Complete (success)</span> </div>
            </div>
            <!-- 进度条结束 -->
            <div class="row">
              <div class="col-sm-6">100万</div>
              <div class="col-sm-6 text-right">2万</div>
            </div>
            <div class="row">
              <div class="col-sm-6">融资总额</div>
              <div class="col-sm-6 text-right">单投资人最低出资</div>
            </div>
            <div class="row" style="border-top:1px solid #eee; padding-top:5px; margin-top:5px;">
              <div class="col-sm-4">支持：0</div>
              <div class="col-sm-4 text-center">跟投：0</div>
              <div class="col-sm-4 text-right">询价：0</div>
            </div>
          </div>
        </div>
      </div>
      <?php endforeach; ?>
      <div class="clearfix"></div>
    </div>
  </div>
</div>
